package com.dubbo.framework;

import cn.hutool.core.convert.Convert;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author by Mr. Li 2021/4/29 14:29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class URL {
    private String ipAddr;
    private Integer port;

    @Override
    public String toString() {
        return ipAddr + "," + Convert.toStr(port);
    }
}
